Daniel Boles [Tue, 5 Sep 2017 19:19:33 +0000 (20:19 +0100)]
InfoBar: Fix typos in set_revealed() documentation
Fix a parameter type and a link to the corresponding property.
Tweak the wording and whatnot a little while at it.
Patrick Griffis [Tue, 5 Sep 2017 16:47:10 +0000 (12:47 -0400)]
build: Improve vulkan resource handling
This fixes the proper dependencies getting set up for generating
the shaders and only the necessary things getting rebuilt on
resources changing in gsk.
Mario Blättermann [Tue, 5 Sep 2017 17:56:32 +0000 (17:56 +0000)]
Update German translation
Mario Blättermann [Tue, 5 Sep 2017 17:52:35 +0000 (17:52 +0000)]
Update German translation
Balázs Úr [Tue, 5 Sep 2017 15:16:16 +0000 (15:16 +0000)]
Update Hungarian translation
Balázs Úr [Tue, 5 Sep 2017 15:14:28 +0000 (15:14 +0000)]
Update Hungarian translation
Marek Cernocky [Tue, 5 Sep 2017 14:38:18 +0000 (16:38 +0200)]
Updated Czech translation
Jakub Steiner [Wed, 23 Aug 2017 20:26:06 +0000 (22:26 +0200)]
adwaita: use generic sidebar icon style
https://bugzilla.gnome.org/show_bug.cgi?id=786613
Daniel Mustieles [Tue, 5 Sep 2017 10:35:00 +0000 (10:35 +0000)]
Update Spanish translation
Daniel Mustieles [Tue, 5 Sep 2017 10:33:59 +0000 (10:33 +0000)]
Update Spanish translation
Jean-Baptiste Holcroft [Tue, 5 Sep 2017 08:31:53 +0000 (08:31 +0000)]
Update French translation
Timm Bäder [Tue, 5 Sep 2017 08:07:54 +0000 (10:07 +0200)]
build: Depend on wayland-protocols 1.9
Needed for the keyboard shortcuts inhibit protocol
Matthias Clasen [Tue, 5 Sep 2017 02:58:05 +0000 (22:58 -0400)]
Typo fix
Matthias Clasen [Sun, 3 Sep 2017 13:54:47 +0000 (09:54 -0400)]
A somewhat working blur shader
This is a very direct implementation of a Gaussian blur,
without any optimizations.
Andika Triwidada [Tue, 5 Sep 2017 01:12:51 +0000 (01:12 +0000)]
Update Indonesian translation
Andika Triwidada [Tue, 5 Sep 2017 01:09:35 +0000 (01:09 +0000)]
Update Indonesian translation
Daniel Boles [Tue, 5 Sep 2017 00:42:31 +0000 (01:42 +0100)]
HighContrast: Stop hovered emoji from disappearing
Otherwise emoji are invisible in the normal variant & nearly in Inverse.
https://bugzilla.gnome.org/show_bug.cgi?id=787279
Daniel Boles [Tue, 5 Sep 2017 00:42:13 +0000 (01:42 +0100)]
Adwaita: Fix a selector not regenerated in the CSS
Daniel Boles [Mon, 4 Sep 2017 23:58:00 +0000 (00:58 +0100)]
HighContrast: Kill abominable headerbar vseparator
Commit
8cd37ff0df75d890d71d40c0f23a42533853ad7b fixed a syntax error and
unwittingly released this bizarre mutant.
Daniel Boles [Mon, 4 Sep 2017 18:56:47 +0000 (19:56 +0100)]
EmojiChooser: Ensure always have a selected button
We were only selecting a section’s button if the adjustment y coord was
within its heading, so scrolling slightly into it unchecked all buttons.
This also fixes how we could end up with the first 2 selected, somehow.
https://bugzilla.gnome.org/show_bug.cgi?id=787172
Daniel Boles [Sat, 2 Sep 2017 17:47:47 +0000 (18:47 +0100)]
EmojiChooser: Check the 1st button before 1st show
We scroll to the top in show() but only ever selected a button when the
adjustment changed, which doesn’t happen in init(). Check it manually.
https://bugzilla.gnome.org/show_bug.cgi?id=787172
Piotr Drąg [Mon, 4 Sep 2017 21:53:19 +0000 (23:53 +0200)]
Update Polish translation
Rafael Fontenelle [Mon, 4 Sep 2017 19:54:43 +0000 (19:54 +0000)]
Update Brazilian Portuguese translation
Rafael Fontenelle [Mon, 4 Sep 2017 19:52:31 +0000 (19:52 +0000)]
Update Brazilian Portuguese translation
Matthias Clasen [Sun, 3 Sep 2017 04:15:04 +0000 (00:15 -0400)]
css: Implement the blur filter
This implementation is somewhat incomplete, since
we don't allow combining blur with the other filters
yet.
Matthias Clasen [Mon, 4 Sep 2017 02:26:56 +0000 (22:26 -0400)]
Render the main overlay child only once
Use a separate snapshot to capture the main child render node
and reuse it multiple times, instead of generating multiple
nodes for the same content.
Matthias Clasen [Sun, 3 Sep 2017 00:43:42 +0000 (20:43 -0400)]
Add a test for overlay blur
Matthias Clasen [Sun, 3 Sep 2017 00:42:47 +0000 (20:42 -0400)]
Add a blur child property to GtkOverlay
When set, it blurs the content behind the child.
Matthias Clasen [Sun, 3 Sep 2017 03:50:39 +0000 (23:50 -0400)]
Add gtk_snapshot_push_blur()
This function is similar to the other push functions.
This one uses the newly created blur node.
Matthias Clasen [Sun, 3 Sep 2017 03:49:34 +0000 (23:49 -0400)]
gsk: Add a blur node
For now, this has just a fallback implementation using
the typical box filter approximation.
Baurzhan Muftakhidinov [Mon, 4 Sep 2017 15:51:35 +0000 (15:51 +0000)]
Update Kazakh translation
Julius Härtl [Thu, 10 Aug 2017 20:30:36 +0000 (22:30 +0200)]
gtkplacessidebar: implement libcloudproviders support
Add integration of the libcloudproviders DBus API to the
GtkPlacesSidebar by showing name and sync status of the cloud providers.
The exported menu is rendered as a GtkPopover.
The sidebar will be updated if the list of cloudproviders changes e.g.
by adding or removing an account. If any cloud provider changes detailed
information like sync status only the individual sidebar row gets
updated.
Co-authored-by: Carlos Soriano <csoriano@gnome.org>
Co-authored-by: Daniel Boles <dboles@src.gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=786123
Daniel Boles [Sat, 2 Sep 2017 16:41:59 +0000 (17:41 +0100)]
HighContrast: basic port of emoji CSS from Adwaita
This is better than nothing: without specific CSS, the Chooser was too
large, the emoji were too small, and the buttons were generally ugly.
https://bugzilla.gnome.org/show_bug.cgi?id=786956
Daniel Boles [Sat, 2 Sep 2017 15:54:47 +0000 (16:54 +0100)]
Adwaita: proper colours for inactive emoji buttons
Use opacity to differentiate unselected/hovered/selected buttons. It had
assumed bg < border < fg colours, which may be false, as in Adwaita:dark
This also means we do not need to special-case for the backdrop state.
https://bugzilla.gnome.org/show_bug.cgi?id=786956
Daniel Boles [Sat, 2 Sep 2017 15:56:14 +0000 (16:56 +0100)]
Adwaita: Make use of SASS syntax for emoji stuff
This makes the theme easier to maintain.
https://bugzilla.gnome.org/show_bug.cgi?id=786956
Milo Casagrande [Mon, 4 Sep 2017 11:44:57 +0000 (11:44 +0000)]
Update Italian translation
Matthias Clasen [Sun, 3 Sep 2017 23:58:41 +0000 (19:58 -0400)]
Add rules to regenerate all shader variants
We were missing rules to build the clip variants of
the shaders.
Matthias Clasen [Sun, 3 Sep 2017 23:53:29 +0000 (19:53 -0400)]
Fix a compiler warning
Matthias Clasen [Sun, 3 Sep 2017 23:35:02 +0000 (19:35 -0400)]
Avoid empty nodes another way
Make gsk_text_node_new return NULL if the extents are empty.
Aurimas Černius [Sun, 3 Sep 2017 20:36:03 +0000 (23:36 +0300)]
Updated Lithuanian translation
Rūdolfs Mazurs [Sun, 3 Sep 2017 16:26:58 +0000 (19:26 +0300)]
Update Latvian translation
Jordi Mas [Sun, 3 Sep 2017 16:06:43 +0000 (18:06 +0200)]
Update Catalan translation
Matthias Clasen [Sun, 3 Sep 2017 15:57:21 +0000 (11:57 -0400)]
Add a workaround for vulkan crashes
I see 'out of memory' errors and crashes inside libvulkan when
creating nodes that have empty bounds and end up in the fallback
paths, like a shadow around an empty text node. Prevent this
by not creating text nodes in that case.
Matthias Clasen [Sun, 3 Sep 2017 15:34:41 +0000 (11:34 -0400)]
vulkan: Add more debug spew
Matthias Clasen [Sun, 3 Sep 2017 15:29:29 +0000 (11:29 -0400)]
Record node names for debug output
This is useful for GSK_NOTE output as well.
Matthias Clasen [Sun, 3 Sep 2017 14:32:55 +0000 (10:32 -0400)]
gsk: Improve debug output
If we don't have node names, we can still print class names.
Matthias Clasen [Sun, 3 Sep 2017 14:30:32 +0000 (10:30 -0400)]
Only record node names when we should
This is the same thing we do for render nodes elsewhere.
Daniel Boles [Sun, 3 Sep 2017 12:53:48 +0000 (13:53 +0100)]
Adwaita: Fix ineffective theming of switch slider
in a specific case, which was applying .slider as a class on the parent
switch, instead of correctly selecting on its child node named slider.
This makes the border on the outside of a switch in a selected listbox
row look better in the light variant. Since the code was never removed,
it was clearly meant to work, and making it work is a clear improvement.
Daniel Boles [Sun, 3 Sep 2017 12:32:14 +0000 (13:32 +0100)]
HighContrast: Fix outdated name for headerbar box
Daniel Boles [Sun, 3 Sep 2017 11:07:35 +0000 (12:07 +0100)]
docs: css-overview: Don’t recommend broken syntax
Using this produced warnings about the Pango syntax of <Family> <size>
being deprecated, and the size being invalid due to no unit specified.
Also, that multi-word font family presumably wouldn’t work as expected.
Daniel Boles [Sun, 3 Sep 2017 10:04:48 +0000 (11:04 +0100)]
Toolbar: Clarify set_show_arrow() a bit more
Daniel Boles [Sun, 3 Sep 2017 09:41:56 +0000 (10:41 +0100)]
Toolbar: Clarify how the arrow overflow menu works
The fact it affects the preferred size, and only works with ToolItems
that return a menu proxy item, was unclear unless deduced from other
sources, and this led to users thinking it was broken, for example:
https://stackoverflow.com/q/
44644642/
2757035
https://bugzilla.gnome.org/show_bug.cgi?id=787158
https://bugzilla.gnome.org/show_bug.cgi?id=787195
Daniel Boles [Sun, 3 Sep 2017 09:41:24 +0000 (10:41 +0100)]
ToolItem: Add see-also from proxy setter to signal
Daniel Boles [Sun, 3 Sep 2017 09:39:58 +0000 (10:39 +0100)]
ToolItem: Annotate menu proxy item as nullable
It can be NULL. ::create-menu-proxy gave an example of when a NULL proxy
menu item could be useful, but the accessors did not annotate it as such.
Timm Bäder [Sat, 2 Sep 2017 12:25:29 +0000 (14:25 +0200)]
container: Drop priv pointer
Timm Bäder [Fri, 1 Sep 2017 17:35:30 +0000 (19:35 +0200)]
testcenterbox: Properly quit on window close
Rafael Fontenelle [Sat, 2 Sep 2017 22:48:48 +0000 (22:48 +0000)]
Update Brazilian Portuguese translation
Daniel Boles [Sat, 2 Sep 2017 15:13:03 +0000 (16:13 +0100)]
Revert "sk.po: Consistently translate “Insert”"
This reverts commit
98e301845529386387308b00ff368291fccd292e.
As an English-speaker, I know nothing about complex grammar, and it’s
been brought to my attention that some languages might differ in the
translation of the same command depending on where it appears.
So, I’d better assume everyone else knows better than me. Apologies!
Matthias Clasen [Sat, 2 Sep 2017 15:06:20 +0000 (11:06 -0400)]
gsk: add a has_color boolean to text nodes
Currently, this information is not used since cairo_show_glyphs
deals with color glyphs for us. But when we get to uploading
glyphs to a texture atlas, we will need it to do the right thing.
We don't look at individual glyphs here, but just whether the
font has the has-color flag set. In practice, all glyphs in
such a font will be color glyphs, and we can avoid loading all
the glyphs this way.
Daniel Boles [Sat, 2 Sep 2017 15:00:08 +0000 (16:00 +0100)]
Adwaita: Fix colour mixing of emoji section button
when hovered, by using %, since SASS does not handle decimal mixes.
Daniel Boles [Sat, 2 Sep 2017 10:56:51 +0000 (11:56 +0100)]
sk.po: Consistently translate “Insert”
The two occurrences disagreed on the translation, and my amateur
investigation indicates this one is correct.
Daniel Boles [Sat, 2 Sep 2017 10:53:16 +0000 (11:53 +0100)]
gl.po: Consistently translate/capitalise “Emoji”
GTK+ 3 and 4 disagreed on capitalisation and the translation of “Emoji”.
Use sentence case as elsewhere & the most common translation: emoticono.
Matthias Clasen [Sat, 2 Sep 2017 12:45:51 +0000 (08:45 -0400)]
emoji chooser: No emoji in the search entry
Recursion is fun, but better avoided in the ui.
https://bugzilla.gnome.org/show_bug.cgi?id=786960
Matthias Clasen [Sat, 2 Sep 2017 12:42:52 +0000 (08:42 -0400)]
entry: Consider input hints for Emoji support
Don't show "insert emoji" in the context menu if input
hints indicate that Emoji input is not useful.
Matthias Clasen [Sat, 2 Sep 2017 12:42:18 +0000 (08:42 -0400)]
Add input hints for Emoji input
Allow hinting input methods about whether Emoji support is
useful or not.
Emmanuele Bassi [Sat, 2 Sep 2017 11:00:05 +0000 (12:00 +0100)]
build: Add option to enable/disable GIR generation
And drop the unnecessary is_cross_build() check: it's entirely possible
to generate introspection data when cross-compiling.
Fran Dieguez [Sat, 2 Sep 2017 10:09:49 +0000 (10:09 +0000)]
Update Galician translation
Dušan Kazik [Sat, 2 Sep 2017 08:00:42 +0000 (08:00 +0000)]
Update Slovak translation
Dušan Kazik [Sat, 2 Sep 2017 07:55:10 +0000 (07:55 +0000)]
Update Slovak translation
Andika Triwidada [Sat, 2 Sep 2017 00:59:58 +0000 (00:59 +0000)]
Update Indonesian translation
Matthias Clasen [Fri, 1 Sep 2017 23:51:17 +0000 (19:51 -0400)]
emoji chooser: Avoid a crash
The emoji chooser gets disposed already, because it is attached
to the toplevel as a popover. Doing it again when the object data
is cleared is leading to a crash.
https://bugzilla.gnome.org/show_bug.cgi?id=787103
Piotr Drąg [Fri, 1 Sep 2017 23:53:37 +0000 (01:53 +0200)]
Update Polish translation
Mohammed Sadiq [Wed, 30 Aug 2017 17:55:59 +0000 (23:25 +0530)]
emoji-chooser: fix subsequent scroll
Event handlers on scroll window should only be run once the widget
is shown.
https://bugzilla.gnome.org/show_bug.cgi?id=786964
gogo [Fri, 1 Sep 2017 22:04:54 +0000 (22:04 +0000)]
Update Croatian translation
gogo [Fri, 1 Sep 2017 21:52:46 +0000 (21:52 +0000)]
Update Croatian translation
Daniel Boles [Wed, 30 Aug 2017 11:48:23 +0000 (12:48 +0100)]
Entry: Set tooltip text on icon for emoji chooser
https://bugzilla.gnome.org/show_bug.cgi?id=786885
Matthias Clasen [Fri, 1 Sep 2017 19:33:27 +0000 (15:33 -0400)]
Use gsk for text shadows
We don't need to render these manually using cairo anymore.
Matthias Clasen [Fri, 1 Sep 2017 19:32:48 +0000 (15:32 -0400)]
label: Don't leak clip regions
This was introduced in the conversion to gsk.
Daniel Boles [Fri, 1 Sep 2017 19:17:11 +0000 (20:17 +0100)]
ComboBox: Dodge possible surplus disconnects
in case anyone connected any other signal on the model to this ComboBox.
Matthias Clasen [Fri, 1 Sep 2017 18:42:29 +0000 (14:42 -0400)]
entry: Convert to gsk
This introduces a new css node for block cursor styling.
Matthias Clasen [Fri, 1 Sep 2017 18:12:20 +0000 (14:12 -0400)]
Fix text colors
This was lost in some reshuffling of the gskpango branch.
Matthias Clasen [Fri, 1 Sep 2017 17:42:43 +0000 (13:42 -0400)]
Fix the build
Matthias Clasen [Fri, 1 Sep 2017 16:42:21 +0000 (12:42 -0400)]
Use a text render node in GskPangoRenderer
This pushes the rendering closer to the place where we can
insert a texture atlas for glyph caching.
Matthias Clasen [Tue, 29 Aug 2017 21:28:10 +0000 (17:28 -0400)]
Add a render node for text
This is just a wrapper around a PangoGlyphString + PangoFont.
Basically, the arguments that are passed to pango_renderer_draw_glyphs.
Matthias Clasen [Wed, 30 Aug 2017 15:14:48 +0000 (11:14 -0400)]
Use GskPangoRenderer to render text
This just replaces the wrapper call.
Matthias Clasen [Wed, 30 Aug 2017 15:12:50 +0000 (11:12 -0400)]
Add a Pango renderer
Copy the PangoCairoRenderer into GTK+, rename it to GskPangoRenderer,
and strip it down far enough to build without private pango apis.
This means we currently don't support hexboxes or shapes.
Currently, this lives in gtk, but it might be nicer to put it
in gsk eventually.
Timm Bäder [Fri, 1 Sep 2017 12:09:44 +0000 (14:09 +0200)]
centerbox: Unparent widgets in dispose
Timm Bäder [Thu, 31 Aug 2017 11:14:33 +0000 (13:14 +0200)]
menuitem: Fix small memory leak in get_label
g_object_get returs a newly allocated string so we can't use it here.
Matthias Clasen [Fri, 1 Sep 2017 16:56:22 +0000 (12:56 -0400)]
Remove an unused variable
Matthias Clasen [Fri, 1 Sep 2017 16:26:43 +0000 (12:26 -0400)]
label: Port active link drawing to gsk
We don't need to fall back to cairo fro this anymore.
Piotr Drąg [Fri, 1 Sep 2017 16:22:44 +0000 (18:22 +0200)]
Update POTFILES.in and POTFILES.skip
Matthias Clasen [Fri, 1 Sep 2017 16:03:06 +0000 (12:03 -0400)]
inspector: Add some tooltips
These buttons are not 100% obvious.
Matthias Clasen [Fri, 1 Sep 2017 15:59:41 +0000 (11:59 -0400)]
inspector: Remove debug nodes setting from visual tab
No need to have the same setting in two places.
Matthias Clasen [Fri, 1 Sep 2017 15:55:23 +0000 (11:55 -0400)]
inspector: Move debug nodes option
Put this option on the recorder page where it makes more sense.
Matthias Clasen [Fri, 1 Sep 2017 15:07:21 +0000 (11:07 -0400)]
label: Port selection drawing to gsk
We don't need to fall back to cairo for this anymore.
Daniel Boles [Fri, 1 Sep 2017 15:03:36 +0000 (16:03 +0100)]
ScrolledWindow: Dodge possible surplus disconnects
In case the outgoing Adjustment for whatever reason has other handlers
referring to this SW, be sure to avoid disconnecting any but our own.
Daniel Boles [Fri, 1 Sep 2017 10:52:12 +0000 (11:52 +0100)]
ComboBox: Remove pointless signal ID member fields
We don’t need to store these for disconnection, as we can just use
g_signal_handlers_disconnect_by_data().
Dušan Kazik [Fri, 1 Sep 2017 14:21:15 +0000 (14:21 +0000)]
Update Slovak translation
Daniel Boles [Thu, 31 Aug 2017 22:18:46 +0000 (23:18 +0100)]
ScrolledWindow: Fix non-disconnection of handlers
• Use disconnect_by_data() to catch both _adjustment_changed() and now
_adjustment_value_changed(), as the latter had been missed until now.
• Also disconnect from indicator_value_changed(), which was not done in
destroy() due to indicator_reset() and remove_indicator() disagreeing.
https://bugzilla.gnome.org/show_bug.cgi?id=775074
Daniel Boles [Thu, 31 Aug 2017 19:19:58 +0000 (20:19 +0100)]
Window: Do not connect to NULL screen in init()
Do not connect to get_settings_for_screen() if we have no screen…
Use g_signal_connect(), not connect_object(), to match how set_screen()
makes this same connection, and how finalize() already disconnects it.
https://bugzilla.gnome.org/show_bug.cgi?id=705640